package com.txazo.action;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;

import com.txazo.action.base.ActionBase;

/**
 * 用户退出Action
 * 
 * @author txazo
 * @since 1.0
 */
@Controller
@Scope("session")
public class LogoutAction extends ActionBase {

	private static final long serialVersionUID = 1L;

	public String logout() throws Exception {
		session.clear();
		System.out.println("Logout");
		return SUCCESS;
	}

}